<?php /* Smarty version Smarty-3.0.8, created on 2011-11-26 05:32:18
         compiled from "./templates\_customRecommend1.tpl" */ ?>
<?php /*%%SmartyHeaderCode:94564ed079e287bde3-05374640%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '41349085780d9273fe638a9af0c02ecb7cfdd105' => 
    array (
      0 => './templates\\_customRecommend1.tpl',
      1 => 1322285533,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '94564ed079e287bde3-05374640',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include './common/libs/plugins\modifier.truncate.php';
if (!is_callable('smarty_function_cycle')) include './common/libs/plugins\function.cycle.php';
?><div id="customblock">
    <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('block1')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['name'] = 'secondBlock';
$_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['max'] = (int)1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['step'] = ((int)1) == 0 ? 1 : (int)1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['start'] = (int)0;
$_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['show'] = true;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['max'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['loop'];
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['start'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['start']);
else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['loop']-1);
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['max']);
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['secondBlock']['total']);
?>
    <div id="title"><div class="customBlockTitle" style="margin-left:4px;"><span><?php echo smarty_modifier_truncate((($tmp = @$_smarty_tpl->getVariable('block1')->value[$_smarty_tpl->getVariable('smarty')->value['section']['secondBlock']['index']]['blockTitle'])===null||$tmp==='' ? '本周薪资企业Top10' : $tmp),15,'..');?>
</span></div></div>
    <div>
        <div style="float:left;width:110px;margin:5px;">
            <div><span><?php echo smarty_modifier_truncate((($tmp = @$_smarty_tpl->getVariable('block1')->value[$_smarty_tpl->getVariable('smarty')->value['section']['secondBlock']['index']]['firmName'])===null||$tmp==='' ? '企业名称' : $tmp),10,'..');?>
</span></div>                                   
        </div>
        <div style="float:left;width:10px;">&nbsp;</div>  <!-- 占空 -->
        <div style="float:left;width:80px;margin:5px;text-align:center;"><?php echo smarty_modifier_truncate((($tmp = @$_smarty_tpl->getVariable('block1')->value[$_smarty_tpl->getVariable('smarty')->value['section']['secondBlock']['index']]['itemTitle'])===null||$tmp==='' ? '薪资' : $tmp),8,'..');?>
</div> 
        <div id="clear"></div>
    <?php endfor; endif; ?>
        <ul>    
        <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('customblock1')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['name'] = 'thisWeek';
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['show'] = (bool)true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['max'] = (int)10;
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'] = ((int)1) == 0 ? 1 : (int)1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'] = (int)0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['max'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['loop'];
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start']);
else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['loop']-1);
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['max']);
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['thisWeek']['total']);
?>
            <li style="background-color:<?php echo smarty_function_cycle(array('name'=>'color','values'=>'#fff,#fff','advance'=>true),$_smarty_tpl);?>
">             
            <div id="leftnum" style="width:20px;"><span><?php echo ((($tmp = @$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['iteration'])===null||$tmp==='' ? '1' : $tmp)).('.');?>
&nbsp;&nbsp;</span></div>
            <div id="firmlogo" style="margin-top:6px;"><a href="<?php echo $_smarty_tpl->getVariable('customblock1')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['linkAddress'];?>
"><img src="<?php echo $_smarty_tpl->getVariable('customblock1')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['imageName'];?>
" width="<?php echo (($tmp = @$_smarty_tpl->getVariable('customblock1')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['imageWidth'])===null||$tmp==='' ? '20' : $tmp);?>
" height="<?php echo (($tmp = @$_smarty_tpl->getVariable('customblock1')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['imageHeight'])===null||$tmp==='' ? '20' : $tmp);?>
"/></a></div> 
            <div id="firmname" style="width:100px;"><a href="<?php echo $_smarty_tpl->getVariable('customblock1')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['linkAddress'];?>
"><span>&nbsp;&nbsp;<?php echo smarty_modifier_truncate((($tmp = @$_smarty_tpl->getVariable('customblock1')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['firmName'])===null||$tmp==='' ? 'Google' : $tmp),10,'……',false);?>
</span></a></div>
            <div id="rightblock"><?php echo smarty_modifier_truncate((($tmp = @$_smarty_tpl->getVariable('customblock1')->value[$_smarty_tpl->getVariable('smarty')->value['section']['thisWeek']['index']]['extraData'])===null||$tmp==='' ? '10000万元/年' : $tmp),10,"..");?>
</div>
            <div id="clear"></div>                                    
                                                                     
            </li> 
            <?php endfor; else: ?>
            <?php endif; ?>
        </ul>
    </div>
    <div id="title"><div class="moreContentTail"><a href="<?php echo (($tmp = @$_smarty_tpl->getVariable('customBlock1More')->value)===null||$tmp==='' ? '#' : $tmp);?>
"><span>更多内容</span></a></div></div> 
</div> 